GO
ALTER TABLE [dbo].[DependentTask]  WITH CHECK ADD  
CONSTRAINT [FK_DependentTask_TargetTask] FOREIGN KEY ([TargetTask_Id])
REFERENCES [dbo].[Task] ([Id])

